# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=swappy
pkgver=1.5.1
pkgrel=0
pkgdesc="Snapshot editing tool for Wayland"
url="https://github.com/jtheoof/swappy"
license="MIT"
arch="all"
options="!check" # no test suite
depends="font-awesome-free"
makedepends="meson cairo-dev pango-dev gtk+3.0-dev libnotify-dev scdoc"
subpackages="$pkgname-doc $pkgname-lang"
source="https://github.com/jtheoof/swappy/archive/v$pkgver/swappy-$pkgver.tar.gz"

build() {
	abuild-meson . output
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
688ad9006965d6a3f9d2997335bc3e8172e4f6f53551bb92603cdc1f14138c25f9f7d28a87aa1cbcefc94f5da1701443a2ddf0e883b648ecc5a0b0ca28588217  swappy-1.5.1.tar.gz
"
